QT       += core gui
QT += multimedia
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

CONFIG += resources_big

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    card.cpp \
    game.cpp \
    loading.cpp \
    main.cpp \
    Mainwindow.cpp \
    other.cpp \
    plant.cpp \
    shovel.cpp \
    startpage.cpp \
    zombie.cpp \
    mower.cpp

HEADERS += \
    Mainwindow.h \
    card.h \
    game.h \
    loading.h \
    other.h \
    plant.h \
    shovel.h \
    startpage.h \
    zombie.h \
    mower.h

FORMS += \
    Mainwindow.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    images/imges.qrc

DISTFILES += \
    images/Background.jpg \
    images/Background2.jpg \
    images/Boom.gif \
    images/BucketZombieAttack.gif \
    images/BucketZombieWalk.gif \
    images/Burn.gif \
    images/Button.png \
    images/Card.png \
    images/CherryBomb.gif \
    images/CherryBomb.png \
    images/ConeZombieAttack.gif \
    images/ConeZombieWalk.gif \
    images/FootballZombieAttack.gif \
    images/FootballZombieDie.gif \
    images/FootballZombieWalk.gif \
    images/LawnMower.png \
    images/LogoWord.jpg \
    images/Pea.png \
    images/PeaSnow.png \
    images/Peashooter.gif \
    images/Peashooter.png \
    images/PotatoMine.gif \
    images/PotatoMine.png \
    images/PotatoMine1.gif \
    images/PotatoMineBomb.gif \
    images/Repeater.gif \
    images/Repeater.png \
    images/ScreenZombieAttack.gif \
    images/ScreenZombieWalk.gif \
    images/Shop.png \
    images/Shovel.png \
    images/ShovelBank.png \
    images/SnowPea.gif \
    images/SnowPea.png \
    images/StartScreen.jpg \
    images/Sun.gif \
    images/SunFlower.gif \
    images/SunFlower.png \
    images/Surface.png \
    images/Title.jpg \
    images/WallNut.gif \
    images/WallNut.png \
    images/WallNut1.gif \
    images/WallNut2.gif \
    images/ZombieAttack.gif \
    images/ZombieDie.gif \
    images/ZombieHead.gif \
    images/ZombieWalk1.gif \
    images/ZombieWalk2.gif \
    images/ZombiesWon.png \
    images/floor.png \
    images/init.png \
    images/mainlogo.png \
    images/mini.png \
    images/mini1.png \
    images/mx.png \
    images/mx1.png \
    images/play.png \
    images/play1.png \
    images/yizi.png \
    images/yizi1.png
